#ifndef _NAVIGATION_H_
#define _NAVIGATION_H_

#include "common.h"
#include <pthread.h>




//nVidia输出偏差、十字、丁字路口、红点
typedef enum
{
	NVIDIA_OFFSET,  //0x00
	NVIDIA_SHIZI,	//0x01
	NVIDIA_DINGZI, //0x02
	NVIDIA_REDPOINT, //0x03
	NVIDIA_OUTLINE, //0x04
}ENUM_ROBOTOFFSET;





void nvidia_handle(uint8_t n_devicename, DATA32_t n_devicedata);
void turn_around_handler(void);
void auto_arount(int32_t speed);
void go_distance_handler(void);
#endif // !_NAVIGATION_H_